home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Workbench Add-On
/
Workbench Add-On - Volume 1.iso
/
Dev
/
TileForth
/
bin
/
makedoc
< prev
next >
Wrap
Text File
|
1995-08-25
|
748b
|
37 lines
#! /bin/sh
# NAME
# makedoc - create documenation file from manual pages
# SYNOPSIS
# makedoc <files>
# DESCRIPTION
# Creates documentation (text) files from manual pages.
# The documentation files are used by help function mode
# in GNU Emacs (for the tile forth environment).
# OPTIONS
# none
# SEE ALSO
# nroff(1), tr(1).
# AUTHOR
# Mikael R.K. Patel
# Computer Aided Design Laboratory (CADLAB)
# Department of Computer and Information Science
# Linkoping University
# S-581 83 LINKOPING
# SWEDEN
# Email: mip@ida.liu.se
# HISTORY
# Created on: 20 June 1990
# Lasted updated: 13 August 1990
if [ "$1" = "" ]
then
echo "Usage: makedoc file ..."
else
for file in $*
do
nroff -man $file | tr -d "_\010" > $file.doc
done
fi